Remove find_host_deps and use Compilation field.
authorLucas Kolstad <lkolstad@uw.edu>
Wed, 30 Aug 2017 22:16:52 +0000 (15:16 -0700)
committerLucas Kolstad <lkolstad@uw.edu>
Wed, 30 Aug 2017 22:16:52 +0000 (15:16 -0700)
commit3b5ec888ff2a6d39fc7663b34a232bf05f3cd03f
tree6e2835068a11914941fea8ba58bd30dd4acb33de
parent2b7f37b5a22116d902a03ae1661a25cb2d6ff389
Remove find_host_deps and use Compilation field.

This patch removes the addition of the find_host_deps() function by
adding a host_deps_output field to the Compilation struct instead. The
test case is altered to not use an external crate from crates.io but
instead use the Package.publish(..) method.
src/cargo/ops/cargo_rustc/compilation.rs
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_test.rs
tests/test.rs